/*
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2023-09-14 12:31:39
 * @LastEditors: 贺楠 1071780426@qq.com
 * @LastEditTime: 2024-09-11 10:23:41
 * @FilePath: \mould\src\components\BehaViorManage\workYear\regexDetail.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export default {
    //规格型号
    formObj: [
        {
            input: true, //是input
            label: "样品编号", //字段
            prop: "sampleCode", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
            rules: [{
                required: false,
                message: '设备名称不能为空'
            }], //验证
        },
        {
            input: true, //是input
            label: "错误类型", //字段
            prop: "mistakeType", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
            rules: [{
                required: false,
                message: '设备型号不能为空'
            }], //验证
        },
        {
            input: true, //是input
            label: "错误情况", //字段
            prop: "mistakeSituation", //字段名
            width: 24, //参考el-col
            disabled: true, //是否禁用
            rules: [{
                required: false,
                message: '设备编码不能为空'
            }], //验证
        },
        {
            input: true, //是input
            label: "申请人", //字段
            prop: "applicant", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
            rules: [{
                required: false,
                message: '设备KEY不能为空'
            }], //验证
        },
        {
            dateTime: true, //是input
            label: "申请日期", //字段
            prop: "applicantDates", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
        },
      
        {
            label: "附件资料", //字段
            prop: "enclosure", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            upload: true,
            uploadSelect: false,
            uploadObj: {
                fileType: "2001",
                limit: 8, //上传长度限制
                hideUpload: false, //是否隐藏上传框
            },
           
            rules: [{
                required: false,
                message: '附件资料'
            }] //验证
        },

        {
            radio: true, //是input
            label: "审核结果", //字段
            prop: "examineResult", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            options:[{
                label:"通过",
                value:"通过",
            },{
                label:"不通过",
                value:"不通过",
            }],
            rules: [{
                required: false,
                message: '审核结果不能为空'
            }], //验证
        },
       
        {
            selects: true, //是input
            label: "不通过原因", //字段
            prop: "reason", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '请选择不通过原因'
            }], //验证
            options: [{
                label:"请选择",
                value:""
            },{
                label:"签字盖章不完成",
                value:"签字盖章不完成"
            },{
                label:"申请原因和实际情况不一致",
                value:"申请原因和实际情况不一致"
            },]

        },
       

    ]
}